//时间戳转换为时间函数
function timeString(time) {
  var newDate = new Date();
  newDate.setTime(time);
  // console.log(newDate.toLocaleDateString());
  var result = newDate.toLocaleDateString();
  return result;
}

var globalData = {  
};
var screenWidth = wx.getSystemInfoSync().windowWidth;
var screenHeight = wx.getSystemInfoSync().windowHeight;

module.exports = {
  // uerRegist: uerRegist,
  globalData: globalData,
  timeString: timeString,
  screenWidth: screenWidth,
  screenHeight: screenHeight
};